package com.ruoyi.business.service;

import com.ruoyi.business.AdminLogin;
import com.ruoyi.business.mapper.AdminLoginMapper;
import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;

/**
 * @author ：jiangguanjun
 * @description：管理员登录日志
 * @date ：2020/7/16 21:13
 */
@Slf4j
@Component
public class AdminLoginService {
    @Autowired
    private AdminLoginMapper adminLoginMapper ;


    public int save(AdminLogin adminLogin) {
        return adminLoginMapper.insertSelective(adminLogin) ;
    }
}
